package server.init;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
import server.service.TestServer;

@Component
public class InitApplicationRunner implements ApplicationRunner {
    @Autowired
    private TestServer testServer;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        testServer.bulid(8180);
    }
}
